isp-status

Documents
{
  "history_freshness": {
    "BCS (IP forwarding)": {
      "age_sec": 60,
      "expected_points": 60,
      "largest_gap_min": 1,
      "last_t": 1771435200,
      "missing_points": 1,
      "points_in_window": 59
    },
    "LAN Liquid (NAT)": {
      "age_sec": 60,
      "expected_points": 60,
      "largest_gap_min": 1,
      "last_t": 1771435200,
      "missing_points": 1,
      "points_in_window": 59
    },
    "Liquid (BGP01)": {
      "age_sec": 60,
      "expected_points": 60,
      "largest_gap_min": 1,
      "last_t": 1771435200,
      "missing_points": 1,
      "points_in_window": 59
    }
  },
  "history_subsystem": {
    "buffer_dropped_points_total": 0,
    "buffer_last_flush_err": null,
    "buffer_last_flush_err_at": null,
    "buffer_last_flush_ok_at": 1771435285.2300482,
    "buffer_minutes": 20,
    "buffer_points": 3,
    "busy_timeout_ms": 5000,
    "db_path": "/var/lib/isp-status/history.db",
    "degraded": false,
    "degraded_since": null,
    "dropped_ops_total": 0,
    "flushed_ops_total": 0,
    "last_err": null,
    "last_err_at": null,
    "last_ok_at": 1771435285.230028,
    "queue_depth": 0,
    "spooled_ops_total": 0
  },
  "history_uplinks": [
    "Liquid (BGP01)",
    "BCS (IP forwarding)",
    "LAN Liquid (NAT)"
  ],
  "ok": true,
  "resources": {
    "db_file": {
      "mtime": 1771432181,
      "path": "/var/lib/isp-status/history.db",
      "size_bytes": 794624
    },
    "disk": {
      "root": {
        "free_bytes": 50738319360,
        "path": "/",
        "total_bytes": 61475794944,
        "used_bytes": 7581474816,
        "used_pct": 12.332455111651953
      },
      "var_lib_isp_status": {
        "free_bytes": 50738319360,
        "path": "/var/lib/isp-status",
        "total_bytes": 61475794944,
        "used_bytes": 7581474816,
        "used_pct": 12.332455111651953
      }
    },
    "loadavg": [
      0.16162109375,
      0.267578125,
      0.203125
    ],
    "permissions": {
      "app_root": {
        "executable": true,
        "exists": true,
        "gid": 990,
        "mode_octal": "0o750",
        "path": "/opt/isp-status",
        "readable": true,
        "uid": 0,
        "writable": false
      },
      "backup_dir": {
        "executable": true,
        "exists": true,
        "gid": 990,
        "mode_octal": "0o750",
        "path": "/opt/isp-status/backups",
        "readable": true,
        "uid": 0,
        "writable": false
      },
      "backup_dir_acl_head": "# file: /opt/isp-status/backups\n# owner: root\n# group: ispstatus\nuser::rwx\ngroup::r-x\nother::---\n\n",
      "log_dir": {
        "executable": true,
        "exists": true,
        "gid": 990,
        "mode_octal": "0o750",
        "path": "/var/log/isp-status",
        "readable": true,
        "uid": 999,
        "writable": true
      },
      "perm_reset_sh": {
        "executable": false,
        "exists": true,
        "gid": 990,
        "mode_octal": "0o640",
        "path": "/opt/isp-status/tools/perm_reset.sh",
        "readable": true,
        "uid": 0,
        "writable": false
      },
      "var_dir": {
        "executable": true,
        "exists": true,
        "gid": 990,
        "mode_octal": "0o750",
        "path": "/var/lib/isp-status",
        "readable": true,
        "uid": 999,
        "writable": true
      }
    },
    "process": {
      "pid": 400392,
      "rss_kb": 50172
    },
    "ram": {
      "mem_available_kb": 7603164,
      "mem_total_kb": 8129824,
      "mem_used_kb": 526660,
      "mem_used_pct": 6.478123019637326
    },
    "uptime_sec": 77377.69
  },
  "ts": 1771435302,
  "window_minutes": 60
}